Day 1 - Getting help

Solutions to exercises

Exercise 1.01

Enter the man page for the echo command and locate the AUTHOR (actually the authors).

Solution

Run the command

$ man echo

Inside the man page press / (slash) and type AUTHOR, then hit Enter. You should have found that echo

has been written by Brian Fox and Chet Ramey. Now silently say thanks to then for the time they

spent creating these utilities. They did it for free, so you should be grateful.

Go back to the exercise

Exercise 1.02

Enter the man page for the sort command (we haven’t used it yet, but the man page is there).

Enter the online help and locate how to Undo (toggle) search highlighting with the search

pattern command. Now exit the help, search for ignore and practise the search highlighting toggle

command.

Solution

Run the command

$ man sort

Inside the man page press h for the online help, then press / to search for a pattern, type Undo and

press Enter. The first (and actually only) occurrence is